



//
//  MBBTBFootView.m
//  tableview多按钮选择
//
//  Created by MB__Lee on 2018/5/18.
//  Copyright © 2018年 MB__Lee. All rights reserved.
//

#import "MBBTBFootView.h"
@interface MBBTBFootView()
@property (weak, nonatomic) IBOutlet UIButton *cancel;
@property (weak, nonatomic) IBOutlet UIButton *sure;



@end


@implementation MBBTBFootView
-(void)awakeFromNib{
    [super awakeFromNib];
    
    self.cancel.layer.borderWidth = 0.5;
    self.cancel.layer.borderColor = MB_mainSelectedColor.CGColor;
    self.cancel.layer.cornerRadius = 2;
    self.cancel.clipsToBounds =YES;
    
    self.sure.layer.cornerRadius = 2;
    self.sure.clipsToBounds = YES;
    
}

- (IBAction)makeSure:(id)sender {
    if ([self.delegate respondsToSelector:@selector(sureBTNClik)]) {
        [self.delegate sureBTNClik];
    }
    
}
- (IBAction)cancelBTN:(id)sender {
    if ([self.delegate respondsToSelector:@selector(cancelBTNClik)]) {
        [self.delegate cancelBTNClik];
    }
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
